package com.amigo.online.provider.manager.model.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

@Table(name = "goods_img_tbl")
@Alias(value = "goodsImgTbl")
public class GoodsImgTbl implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(name = "id")
    private Long id;

    /**
     * 商品id
     */
    @Column(name = "goods_id")
    private Long goodsId;

    @Column(name = "img_url")
    private String imgUrl;

    /**
     * 视频地址
     */
    @Column(name = "video_url")
    private String videoUrl;
    /**
     * 排序
     */
    @Column(name = "sort")
    private Integer sort;

    @Column(name = "created_time")
    private Long createdTime;

    @Column(name = "updated_time")
    private Long updatedTime;

    /**
     * 是否删除 1-删除 0-未删除
     */
    @Column(name = "deleted")
    private Integer deleted;

    @Column(name = "deleted_time")
    private Long deletedTime;


    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Long getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Long createdTime) {
        this.createdTime = createdTime;
    }

    public Long getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Long updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Long getDeletedTime() {
        return deletedTime;
    }

    public void setDeletedTime(Long deletedTime) {
        this.deletedTime = deletedTime;
    }

}
